package com.itheima.spring.test;

/**
 * 创建bean实例ABean的工厂ABeanFactory
 */
public class ABeanFactory {

    //静态工厂方式
    public static ABean getABean(){
        return new ABean();
    }

    //工厂Bean方式
    public ABean getABean2(){
        return new ABean();
    }
}
